﻿@model InfoLogic.Models.Person

@{
    ViewBag.Title = "Information";
}

<h2>Personal Information</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.FirstName)*@
            First Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FirstName)
            @Html.ValidationMessageFor(model => model.FirstName)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.MiddleName)*@
            Middle Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MiddleName)
            @Html.ValidationMessageFor(model => model.MiddleName)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.LastName)*@
            Last Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LastName)
            @Html.ValidationMessageFor(model => model.LastName)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.DateOfBirth)*@
            Date Of Birth
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DateOfBirth)
            @Html.ValidationMessageFor(model => model.DateOfBirth)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Gender)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Gender)
            @Html.ValidationMessageFor(model => model.Gender)
        </div>
       
        <p>
            <input type="submit" value="Save" />
        </p>

        <p> 
              @Html.ActionLink("Next Step", "Create", "Address")
        </p>
    </fieldset>
}




@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
